﻿@model MinistryStandardPlatformEntity.InfoTower

@{
    Layout = "~/Views/Shared/_CommonLayout.cshtml";
}
<style>
    tr td:nth-child(2n)
    {
        text-align: left;
    }

    tr td:nth-child(2n+1)
    {
        text-align: right;
    }

    td
    {
        vertical-align: middle;
        height:40px;
    }
</style>
<script src="~/Scripts/project/operationmanagetowercreate.js"></script>
<div style="text-align:center;">
    <form action="/Tower/Edit" method="post" id="towercreateform">
        <input type="hidden" value="@Model.Towerid" name="Towerid" />
    <table style="width:98%;">
        <tr>
            <td><label class="required">*</label>塔楼名称：</td>
            <td>@Html.TextBoxFor(model => model.TowerName, new { @style = "width: 100%;" })</td>
            <td><label class="required">*</label>所属单位：</td>
            <td>
                <input type="text" readonly="readonly" style="vertical-align:middle;" id="PARTENTUNITNAME"  value="@Model.InfoUnit.UNITNAME"/>
                <input type="hidden" style="vertical-align:middle;" name="ParentUnitID" id="ParentUnitID" value="@Model.ParentUnitID"/>
                <img id="selectParentUnit" src="~/Images/search.png" style="vertical-align:middle;" />
            </td>
        </tr>
        <tr>
            <td>备注：</td>
            <td colspan="3">
                <textarea name="Fmemo" rows="3" style="width:100%;resize:none;"></textarea>
            </td>
        </tr>
        <tr>
            <td colspan="4" style="text-align:center;">
                <input type="submit" value="确定" class="radius" id="submitBtn"/>
                <input type="button" value="取消" class="radius" id="cancelBtn" onclick="javascript:window.top.art.dialog.get('operationmanagetowercreate').close();"/>
                <div style="height:30px;"><label class="alert" id="result">@ViewBag.Message</label></div>
            </td>
        </tr>
    </table>
        </form>
</div>